package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 设置课程对应上课周数
 * </p>
 *
 * @author quin.song
 * @since 2024-05-31
 */
@Data
@Accessors(chain = true)
@TableName("course_week")
@EqualsAndHashCode(of = {"taskId", "courseId", "hourType"})
@ApiModel(value = "CourseWeek对象", description = "设置课程对应上课周数")
public class CourseWeek implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    private Integer taskId;
    @ApiModelProperty("课程id")
    private Long courseId;
    @ApiModelProperty("周次")
    private String week;
    @ApiModelProperty("总学时")
    private Integer totalHour;
    @ApiModelProperty("周学时")
    private Integer weekNum;
    @ApiModelProperty("连上节次")
    private Integer connectSection;
    @ApiModelProperty("连上次数")
    private Integer connectNumber;
    @ApiModelProperty("场地类型id")
    private Integer roomType;
    @ApiModelProperty("场地类型名")
    private String roomTypeName;
    @ApiModelProperty("1讲授-环节 2实验 3上机 4其他")
    private Integer hourType;
    @ApiModelProperty("授课类型名称")
    private String hourTypeName;

}
